﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

using QLHXNK.DataAccess;

namespace QLHXNK.BusinessLogic
{
    class Import_Note
    {
         #region --------------------------------------------Thêm, Xoá, Sửa-----------------------------------------
        //Thêm:
        public static int Insert(String import_note_code, String import_note_date, String exchange_rate, String remark)
        {
            return Import_NoteData.Insert(import_note_code, import_note_date,  exchange_rate,  remark);
        }

        
        //Xóa:
        public static int Delete(int ID)
        {
           return Import_NoteData.Delete(ID);
        }

        //Sửa:
        public static int Update(int ID, String import_note_code, String import_note_date, String exchange_rate, String remark)
        {
            return Import_NoteData.Update( ID,  import_note_code,  import_note_date,  exchange_rate,  remark);
        }
        public static int Update1(int ID, String import_note_code, String import_note_date, String exchange_rate)
        {
            return Import_NoteData.Update1(ID, import_note_code, import_note_date, exchange_rate);
        }
        #endregion

        #region -----------------------------------------Lấy danh sách----------------------------------
        public static DataTable getImport_NoteList(String strSQL)
        {
            return Import_NoteData.getImport_NoteList(strSQL);
        }
        #endregion
    }
    
}
